package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Employee;
import cn.wolfcode.rbac.domain.Role;
import cn.wolfcode.rbac.query.PageResult;
import cn.wolfcode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    public abstract PageInfo query(QueryObject qo);

    public abstract void saveOrUpdate(Role entity, Long[] ids);

    public abstract void delete(Long paramLong);

    public abstract Role get(Long id);

    public abstract List<Role> list();
}
